package com.example.demo.dto;

import com.example.demo.model.Torrent;

public class TorrentResponse {
    private Torrent torrent; // 存储种子信息
    private String coverImageBase64; // 存储Base64格式的封面图片

    // 构造函数
    public TorrentResponse(Torrent torrent, String coverImageBase64) {
        this.torrent = torrent;
        this.coverImageBase64 = coverImageBase64;
    }

    // Getter和Setter
    public Torrent getTorrent() {
        return torrent;
    }

    public void setTorrent(Torrent torrent) {
        this.torrent = torrent;
    }

    public String getCoverImageBase64() {
        return coverImageBase64;
    }

    public void setCoverImageBase64(String coverImageBase64) {
        this.coverImageBase64 = coverImageBase64;
    }
}